function getUV() {
    var startDate = $("#UVForm").children("input[name='startDate']").val();
    var endDate = $("#UVForm").children("input[name='endDate']").val();
    $.post(
        CONTEXT_PATH + "/admin/uv",
        {"startDate":startDate,"endDate":endDate},
        function (data) {
            data=$.parseJSON(data);
            if (data.code == 0){
                $("#UVCount").text(data.uvCount);
            }else {
                alert(data.msg);
            }
        }
    )
}

function getDAU() {
    var startDate = $("#DAUForm").children("input[name='startDate']").val();
    var endDate = $("#DAUForm").children("input[name='endDate']").val();
    console.log(startDate,endDate)
    $.post(
        CONTEXT_PATH+"/admin/dau",
        {"startDate":startDate,"endDate":endDate},
        function (data) {
            data=$.parseJSON(data);
            if (data.code == 0){
                $("#DAUCount").text(data.dauCount);
            }else {
                alert(data.msg);
            }
        }
    )
}